set(world_FOUND TRUE) # auto 
set(world_ROOT_DIR /home/lhd/work/testCmake/world/)

find_path(world_INCLUDE_DIR NAMES world.h PATHS "${world_ROOT_DIR}") 
#mark_as_advanced(world_INCLUDE_DIR) # show entry in cmake-gui

find_library(world_LIBRARY NAMES libworld.so PATHS "${world_ROOT_DIR}/build") 
#mark_as_advanced(world_LIBRARY) # show entry in cmake-gui

# use xxx_INCLUDE_DIRS and xxx_LIBRARIES in CMakeLists.txt
set(world_INCLUDE_DIRS ${world_INCLUDE_DIR} )
set(world_LIBRARIES ${world_LIBRARY} )

message( "world-config.cmake " ${world_ROOT_DIR})
